import 'babel-polyfill';
import React from 'react';
import ReactDOM from 'react-dom';
import { Router } from 'react-router-dom';
import { createBrowserHistory  } from 'history';

import App from './App.jsx';
import './index.less';

import 'antd/dist/antd.less';

export const history = createBrowserHistory();

ReactDOM.render(
  <Router history={history}>
    <App />
  </Router>,
  document.querySelector('#app')
);